--------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/haselswerdtj/Box Sync/Immigrants & Social Welfare/Replicatio
> n/immigsocwelf_followup_rep.log
  log type:  text
 opened on:   4 Jun 2020, 10:30:46

. //program:  immigsocwelf_followup_rep.do
. //task:    Replicating follow-up survey analyses
. //project:  Social Welfare Attitudes and Immigrants as a Target Population: Ex
> perimental Evidence (Perspectives on Politics)
. //author: Jake Haselswerdt \ 2020-6-4
. 
. //program setup
. version 14

. clear all

. set linesize 80

. macro drop _all

. set scheme s1mono

. set more off

. 
. use immigsocwef_followup.dta, clear
(Cleaned follow-up survey experiment data; immigration social welfare / jbh 2020
> -)

. 
. global controls "black hispanic otherrace male ideo01 pid7 agecat incomecat ed
> uc notbornus parents_notbornus sr2k"

. 
. //Table F.2 - Replication of Main Assumption Results 
. logit benefit_immigonly i.treatgroup, robust

Iteration 0:   log pseudolikelihood =  -880.0703  
Iteration 1:   log pseudolikelihood = -879.54452  
Iteration 2:   log pseudolikelihood = -879.54427  
Iteration 3:   log pseudolikelihood = -879.54427  

Logistic regression                             Number of obs     =      1,733
                                                Wald chi2(2)      =       1.05
                                                Prob > chi2       =     0.5906
Log pseudolikelihood = -879.54427               Pseudo R2         =     0.0006

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |    .087528   .1442553     0.61   0.544    -.1952072    .3702631
Fiscal thr..  |  -.0608251   .1474294    -0.41   0.680    -.3497814    .2281312
              |
        _cons |  -1.362713   .1031984   -13.20   0.000    -1.564979   -1.160448
-------------------------------------------------------------------------------

. est sto simple

. logit benefit_immigonly i.treatgroup##c.immigscale, robust

Iteration 0:   log pseudolikelihood =   -878.457  
Iteration 1:   log pseudolikelihood = -876.06084  
Iteration 2:   log pseudolikelihood = -876.05263  
Iteration 3:   log pseudolikelihood = -876.05263  

Logistic regression                             Number of obs     =      1,726
                                                Wald chi2(5)      =       4.39
                                                Prob > chi2       =     0.4950
Log pseudolikelihood = -876.05263               Pseudo R2         =     0.0027

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |   .0776308   .3004458     0.26   0.796    -.5112321    .6664937
Fiscal thr..  |   .2853713   .3018556     0.95   0.344    -.3062548    .8769973
              |
   immigscale |   .5136249   .4667205     1.10   0.271    -.4011305     1.42838
              |
   treatgroup#|
 c.immigscale |
Cultural t..  |   .0465649   .6562822     0.07   0.943    -1.239725    1.332854
Fiscal thr..  |   -.902081   .6827798    -1.32   0.186    -2.240305    .4361427
              |
        _cons |  -1.561387   .2179099    -7.17   0.000    -1.988483   -1.134292
-------------------------------------------------------------------------------

. est sto immigscale

. logit benefit_immigonly i.treatgroup##c.immigscale $controls, robust

Iteration 0:   log pseudolikelihood =   -878.457  
Iteration 1:   log pseudolikelihood = -859.79464  
Iteration 2:   log pseudolikelihood = -859.42818  
Iteration 3:   log pseudolikelihood = -859.42771  
Iteration 4:   log pseudolikelihood = -859.42771  

Logistic regression                             Number of obs     =      1,726
                                                Wald chi2(17)     =      38.78
                                                Prob > chi2       =     0.0019
Log pseudolikelihood = -859.42771               Pseudo R2         =     0.0217

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |   .0751359   .3075647     0.24   0.807    -.5276797    .6779516
Fiscal thr..  |   .3505141   .3116947     1.12   0.261    -.2603963    .9614245
              |
   immigscale |   .2309051   .5439808     0.42   0.671    -.8352778    1.297088
              |
   treatgroup#|
 c.immigscale |
Cultural t..  |    .032247   .6750345     0.05   0.962    -1.290796     1.35529
Fiscal thr..  |  -1.026741   .7076442    -1.45   0.147    -2.413698    .3602165
              |
        black |  -.5611893    .235757    -2.38   0.017    -1.023264   -.0991141
     hispanic |  -.0166878   .2384439    -0.07   0.944    -.4840293    .4506537
    otherrace |   .0563153   .2002013     0.28   0.778     -.336072    .4487026
         male |  -.0821471   .1206435    -0.68   0.496    -.3186041    .1543099
       ideo01 |   .1389099   .2638776     0.53   0.599    -.3782806    .6561005
         pid7 |   .0137584   .0339608     0.41   0.685    -.0528035    .0803204
       agecat |  -.1270255   .0967303    -1.31   0.189    -.3166135    .0625624
    incomecat |    .061635   .0205387     3.00   0.003       .02138    .1018901
         educ |   .0102757   .0731863     0.14   0.888    -.1331668    .1537183
    notbornus |   .3060361   .2633696     1.16   0.245    -.2101588    .8222309
parents_not~s |   .2446539   .1803413     1.36   0.175    -.1088085    .5981164
         sr2k |    .394054   .3129445     1.26   0.208    -.2193059    1.007414
        _cons |  -1.880197   .3909748    -4.81   0.000    -2.646493     -1.1139
-------------------------------------------------------------------------------

. est sto immigscalecont

. 
. esttab simple immigscale immigscalecont using TableF2, replace tab label wrap 
> varwidth(25) cells("b(star fmt(2)) se(fmt(2) par)") onecell star(* .1 ** .05 *
> ** .01) scalars("N Observations" "r2_p Pseudo R squared") title(Table F.2. Log
> it Models of the Assumption that the Described Policy will Benefit Immigrants 
> and Not Native-Born Americans, with Interaction Terms and Controls (Mechanical
>  Turk Follow-Up Study)) nobaselevels eqlabels(none) interaction(" X ") substit
> ute(=1 "" "X Anti-immigration scale" "X Anti-immigration") order(2.treatgroup 
> 3.treatgroup immigscale 2.treatgroup#c.immigscale 3.treatgroup#c.immigscale) n
> omtitles collabels(none) addnotes("Robust standard errors in parentheses" "* p
> <0.1, ** p<0.05, *** p<.01") nolz
(note: file TableF2.txt not found)
(output written to TableF2.txt)

. 
. *Table F.3 - Assumption Models with Alternative Immigration Negativity Measure
. logit benefit_immigonly i.treatgroup, robust

Iteration 0:   log pseudolikelihood =  -880.0703  
Iteration 1:   log pseudolikelihood = -879.54452  
Iteration 2:   log pseudolikelihood = -879.54427  
Iteration 3:   log pseudolikelihood = -879.54427  

Logistic regression                             Number of obs     =      1,733
                                                Wald chi2(2)      =       1.05
                                                Prob > chi2       =     0.5906
Log pseudolikelihood = -879.54427               Pseudo R2         =     0.0006

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |    .087528   .1442553     0.61   0.544    -.1952072    .3702631
Fiscal thr..  |  -.0608251   .1474294    -0.41   0.680    -.3497814    .2281312
              |
        _cons |  -1.362713   .1031984   -13.20   0.000    -1.564979   -1.160448
-------------------------------------------------------------------------------

. est sto simple

. logit benefit_immigonly i.treatgroup##c.immigneg, robust

Iteration 0:   log pseudolikelihood = -879.61011  
Iteration 1:   log pseudolikelihood = -871.50071  
Iteration 2:   log pseudolikelihood = -871.42423  
Iteration 3:   log pseudolikelihood = -871.42423  

Logistic regression                             Number of obs     =      1,731
                                                Wald chi2(5)      =      16.20
                                                Prob > chi2       =     0.0063
Log pseudolikelihood = -871.42423               Pseudo R2         =     0.0093

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |   .2140196   .3222599     0.66   0.507    -.4175983    .8456374
Fiscal thr..  |   .1669365   .3348539     0.50   0.618     -.489365    .8232381
              |
     immigneg |   .1847791   .0689547     2.68   0.007     .0496303    .3199279
              |
   treatgroup#|
   c.immigneg |
Cultural t..  |  -.0349315   .0945994    -0.37   0.712     -.220343    .1504799
Fiscal thr..  |  -.0721619   .0992022    -0.73   0.467    -.2665945    .1222708
              |
        _cons |   -1.91231    .239194    -7.99   0.000    -2.381121   -1.443498
-------------------------------------------------------------------------------

. est sto immigneg

. logit benefit_immigonly i.treatgroup##c.immigneg $controls, robust

Iteration 0:   log pseudolikelihood = -879.61011  
Iteration 1:   log pseudolikelihood = -856.32068  
Iteration 2:   log pseudolikelihood =   -855.823  
Iteration 3:   log pseudolikelihood = -855.82239  
Iteration 4:   log pseudolikelihood = -855.82239  

Logistic regression                             Number of obs     =      1,731
                                                Wald chi2(17)     =      46.66
                                                Prob > chi2       =     0.0001
Log pseudolikelihood = -855.82239               Pseudo R2         =     0.0270

-------------------------------------------------------------------------------
              |               Robust
benefit_imm~y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
   treatgroup |
Cultural t..  |   .1826365   .3260401     0.56   0.575    -.4563904    .8216634
Fiscal thr..  |   .2011487   .3387456     0.59   0.553    -.4627805    .8650779
              |
     immigneg |   .1994453   .0727097     2.74   0.006     .0569369    .3419537
              |
   treatgroup#|
   c.immigneg |
Cultural t..  |  -.0292459   .0959175    -0.30   0.760    -.2172407     .158749
Fiscal thr..  |  -.0790331   .1006324    -0.79   0.432    -.2762689    .1182027
              |
        black |  -.5696559   .2351271    -2.42   0.015    -1.030497   -.1088151
     hispanic |  -.0058929   .2371847    -0.02   0.980    -.4707665    .4589806
    otherrace |   .0544809   .2028209     0.27   0.788    -.3430407    .4520024
         male |  -.1000269   .1209193    -0.83   0.408    -.3370243    .1369705
       ideo01 |  -.0176488   .2660983    -0.07   0.947    -.5391918    .5038942
         pid7 |   -.003344   .0342451    -0.10   0.922     -.070463    .0637751
       agecat |  -.1325529   .0970545    -1.37   0.172    -.3227762    .0576705
    incomecat |   .0606173   .0206425     2.94   0.003     .0201588    .1010759
         educ |   .0292324   .0739146     0.40   0.692    -.1156376    .1741023
    notbornus |   .3518692   .2649639     1.33   0.184    -.1674506    .8711889
parents_not~s |   .2668983   .1810802     1.47   0.141    -.0880124     .621809
         sr2k |   .0791854   .2866654     0.28   0.782    -.4826684    .6410392
        _cons |  -2.176586   .4066666    -5.35   0.000    -2.973638   -1.379534
-------------------------------------------------------------------------------

. est sto immignegcont

. 
. esttab simple immigneg immignegcont using TableF3, replace tab label wrap varw
> idth(25) cells("b(star fmt(2)) se(fmt(2) par)") onecell star(* .1 ** .05 *** .
> 01) scalars("N Observations" "r2_p Pseudo R squared") title(Table F.3. Logit M
> odels of the Assumption that the Described Policy will Benefit Immigrants and 
> Not Native-Born Americans using Alternative Measure of Anti-Immigration Sentim
> ent, with Interaction Terms and Controls (Mechanical Turk Follow-Up Study)) no
> baselevels eqlabels(none) interaction(" X ") substitute(=1 "" "Negative feelin
> gs towards immigrants" "Negativity to immigrants") order(2.treatgroup 3.treatg
> roup immigneg 2.treatgroup#c.immigneg 3.treatgroup#c.immigneg) nomtitles colla
> bels(none) addnotes("Robust standard errors in parentheses" "* p<0.1, ** p<0.0
> 5, *** p<.01") nolz
(output written to TableF3.txt)

. 
. //Table F.4 - Replication of Approval Results
. reg approval i.benefit_immigonly##c.immigscale i.treatgroup, robust

Linear regression                               Number of obs     =      1,721
                                                F(5, 1715)        =      84.72
                                                Prob > F          =     0.0000
                                                R-squared         =     0.1900
                                                Root MSE          =     1.5395

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |    .327469   .1419169     2.31   0.021     .0491204    .6058175
   immigscale |  -1.960636   .1986124    -9.87   0.000    -2.350184   -1.571088
              |
benefit_imm~y#|
 c.immigscale |
           1  |  -2.736206   .3443737    -7.95   0.000    -3.411643    -2.06077
              |
   treatgroup |
Cultural t..  |   .0451931   .0913296     0.49   0.621     -.133936    .2243222
Fiscal thr..  |  -.0927591   .0911731    -1.02   0.309    -.2715814    .0860631
              |
        _cons |   5.897722   .0926295    63.67   0.000     5.716043    6.079401
-------------------------------------------------------------------------------

. est sto approval_nocont

. reg approval i.benefit_immigonly##c.immigscale i.treatgroup ideo01 sr2k, robus
> t

Linear regression                               Number of obs     =      1,721
                                                F(7, 1713)        =     114.38
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2959
                                                Root MSE          =     1.4361

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |   .2859139    .132105     2.16   0.031     .0268099     .545018
   immigscale |   .0137524   .2282194     0.06   0.952    -.4338657    .4613706
              |
benefit_imm~y#|
 c.immigscale |
           1  |   -2.45183   .3153334    -7.78   0.000    -3.070309   -1.833351
              |
   treatgroup |
Cultural t..  |   .0351869    .083754     0.42   0.674     -.129084    .1994579
Fiscal thr..  |  -.1054693   .0852366    -1.24   0.216     -.272648    .0617094
              |
       ideo01 |  -1.568623   .1644851    -9.54   0.000    -1.891236    -1.24601
         sr2k |  -1.363578   .1898092    -7.18   0.000     -1.73586   -.9912952
        _cons |   6.316162   .0876157    72.09   0.000     6.144316    6.488007
-------------------------------------------------------------------------------

. est sto approval_ideosr

. reg approval i.benefit_immigonly##c.immigscale i.treatgroup $controls, robust 

Linear regression                               Number of obs     =      1,721
                                                F(17, 1703)       =      56.97
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3243
                                                Root MSE          =      1.411

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |   .3585674   .1302375     2.75   0.006      .103125    .6140099
   immigscale |  -.0046599   .2293322    -0.02   0.984    -.4544624    .4451425
              |
benefit_imm~y#|
 c.immigscale |
           1  |  -2.475056    .310956    -7.96   0.000    -3.084952    -1.86516
              |
   treatgroup |
Cultural t..  |     .05052   .0830986     0.61   0.543     -.112466     .213506
Fiscal thr..  |  -.0919141   .0834168    -1.10   0.271    -.2555243    .0716961
              |
        black |   .1233729   .1176258     1.05   0.294    -.1073334    .3540792
     hispanic |  -.0570996    .147889    -0.39   0.699    -.3471629    .2329638
    otherrace |   .0533257   .1120193     0.48   0.634    -.1663842    .2730355
         male |   .0348562   .0684822     0.51   0.611    -.0994618    .1691743
       ideo01 |  -1.310801   .1871214    -7.01   0.000    -1.677813   -.9437888
         pid7 |  -.0525033   .0241054    -2.18   0.030    -.0997826   -.0052239
       agecat |  -.0431428   .0546515    -0.79   0.430     -.150334    .0640484
    incomecat |  -.0839129   .0119834    -7.00   0.000    -.1074166   -.0604092
         educ |   .0094282   .0405252     0.23   0.816    -.0700562    .0889127
    notbornus |   .1131762   .1509011     0.75   0.453    -.1827948    .4091473
parents_not~s |  -.2084842   .1115547    -1.87   0.062    -.4272828    .0103145
         sr2k |  -1.246287   .1875095    -6.65   0.000     -1.61406   -.8785139
        _cons |   6.895589   .1952434    35.32   0.000     6.512647    7.278531
-------------------------------------------------------------------------------

. est sto approval_cont

. reg approval i.benefit_bornus##c.immigscale i.benefit_immig i.benefit_immig#c.
> immigscale i.treatgroup, robust 

Linear regression                               Number of obs     =      1,721
                                                F(7, 1713)        =      73.44
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2047
                                                Root MSE          =     1.5263

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_b~s |   .3074678   .1331345     2.31   0.021     .0463446    .5685911
   immigscale |  -1.265466   .2788363    -4.54   0.000    -1.812361   -.7185704
              |
benefit_bor~s#|
 c.immigscale |
           1  |   .6458298   .3493785     1.85   0.065    -.0394237    1.331083
              |
1.benefit_i~g |   .8214079   .1443822     5.69   0.000     .5382239    1.104592
              |
benefit_immig#|
 c.immigscale |
           1  |  -3.156239   .3428236    -9.21   0.000    -3.828636   -2.483842
              |
   treatgroup |
Cultural t..  |   .0313084    .090147     0.35   0.728    -.1455013    .2081182
Fiscal thr..  |  -.0750876    .090674    -0.83   0.408     -.252931    .1027557
              |
        _cons |   5.386572    .132365    40.69   0.000     5.126958    5.646186
-------------------------------------------------------------------------------

. est sto approval_sepintnc

. reg approval i.benefit_bornus##c.immigscale i.benefit_immig i.benefit_immig#c.
> immigscale i.treatgroup $controls, robust 

Linear regression                               Number of obs     =      1,721
                                                F(19, 1701)       =      52.31
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3263
                                                Root MSE          =     1.4097

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_b~s |   .1093039   .1241655     0.88   0.379    -.1342292     .352837
   immigscale |   .2057386    .277247     0.74   0.458    -.3380424    .7495197
              |
benefit_bor~s#|
 c.immigscale |
           1  |    .812819   .3115715     2.61   0.009     .2017153    1.423923
              |
1.benefit_i~g |   .5924443   .1361521     4.35   0.000      .325401    .8594876
              |
benefit_immig#|
 c.immigscale |
           1  |  -2.475425   .3189777    -7.76   0.000    -3.101055   -1.849795
              |
   treatgroup |
Cultural t..  |   .0389197   .0826487     0.47   0.638    -.1231841    .2010235
Fiscal thr..  |  -.0810319   .0837741    -0.97   0.334    -.2453429    .0832792
              |
        black |   .1694388   .1178402     1.44   0.151    -.0616882    .4005658
     hispanic |  -.0302738   .1480466    -0.20   0.838    -.3206464    .2600989
    otherrace |   .0676824    .110661     0.61   0.541    -.1493636    .2847283
         male |    .057317   .0682563     0.84   0.401    -.0765582    .1911922
       ideo01 |  -1.277625   .1882144    -6.79   0.000    -1.646781   -.9084691
         pid7 |  -.0549861   .0240153    -2.29   0.022    -.1020887   -.0078834
       agecat |  -.0490289   .0542018    -0.90   0.366    -.1553381    .0572804
    incomecat |   -.079748   .0119551    -6.67   0.000    -.1031963   -.0562998
         educ |   .0063861   .0404426     0.16   0.875    -.0729365    .0857086
    notbornus |   .1134015   .1499593     0.76   0.450    -.1807226    .4075256
parents_not~s |  -.2095131   .1115232    -1.88   0.060    -.4282501     .009224
         sr2k |  -1.127827   .1916044    -5.89   0.000    -1.503632   -.7520218
        _cons |   6.580444   .2171532    30.30   0.000     6.154528    7.006359
-------------------------------------------------------------------------------

. est sto approval_sepint

. 
. esttab approval_nocont approval_ideosr approval_cont approval_sepintnc approva
> l_sepint using TableF4, replace tab label wrap varwidth(25) b(%12.2g) se(%12.2
> g) star(* 0.1 ** 0.05 *** .01) scalars("N Observations" "r2 R squared") title(
> Table F.4. Linear Regression Models of Policy Approval, with Interaction Terms
>  and Robust Standard Errors (Mechanical Turk Follow-Up Study)) nobaselevels eq
> labels(none) interaction(" X ") substitute(=1 "" "Anti-immigration scale" "Ant
> i-immigration") order(1.benefit_immigonly immigscale 1.benefit_immigonly#c.imm
> igscale 1.benefit_immig 1.benefit_immig#c.immigscale 1.benefit_bornus 1.benefi
> t_bornus#c.immigscale 2.treatgroup 3.treatgroup ideo01 sr2k) indicate(Controls
>  = black hispanic otherrace male pid7 agecat incomecat educ notbornus parents_
> notbornus) nomtitles nolz
(output written to TableF4.txt)

. 
. //Table F.5 - Approval Models with Alternative Immigration Negativity Measure
. reg approval i.benefit_immigonly##c.immigneg i.treatgroup, robust

Linear regression                               Number of obs     =      1,726
                                                F(5, 1720)        =      92.09
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2067
                                                Root MSE          =     1.5259

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |   .5229499   .1792815     2.92   0.004     .1713172    .8745825
     immigneg |  -.3583016   .0309852   -11.56   0.000    -.4190742    -.297529
              |
benefit_imm~y#|
   c.immigneg |
           1  |  -.3790438   .0556101    -6.82   0.000    -.4881144   -.2699732
              |
   treatgroup |
Cultural t..  |   .0382677   .0895985     0.43   0.669    -.1374658    .2140012
Fiscal thr..  |  -.0776115    .090939    -0.85   0.394    -.2559742    .1007512
              |
        _cons |   6.130952   .1041064    58.89   0.000     5.926764    6.335141
-------------------------------------------------------------------------------

. est sto neg_approval_nocont

. reg approval i.benefit_immigonly##c.immigneg i.treatgroup ideo01 sr2k, robust

Linear regression                               Number of obs     =      1,726
                                                F(7, 1718)        =     124.29
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3123
                                                Root MSE          =     1.4216

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |   .2631713   .1637463     1.61   0.108    -.0579918    .5843343
     immigneg |  -.1617035   .0333273    -4.85   0.000    -.2270698   -.0963372
              |
benefit_imm~y#|
   c.immigneg |
           1  |  -.2887659   .0518802    -5.57   0.000     -.390521   -.1870108
              |
   treatgroup |
Cultural t..  |    .027782    .082946     0.33   0.738    -.1349039    .1904678
Fiscal thr..  |  -.0971739   .0844509    -1.15   0.250    -.2628114    .0684637
              |
       ideo01 |  -1.408887   .1614306    -8.73   0.000    -1.725508   -1.092266
         sr2k |  -1.181701   .1692986    -6.98   0.000    -1.513754   -.8496475
        _cons |   6.624879   .0999491    66.28   0.000     6.428845    6.820914
-------------------------------------------------------------------------------

. est sto neg_approval_ideosr

. reg approval i.benefit_immigonly##c.immigneg i.treatgroup $controls, robust 

Linear regression                               Number of obs     =      1,726
                                                F(17, 1708)       =      59.94
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3394
                                                Root MSE          =     1.3974

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_i~y |   .3198281   .1663258     1.92   0.055    -.0063958    .6460519
     immigneg |  -.1682091   .0327427    -5.14   0.000    -.2324291   -.1039892
              |
benefit_imm~y#|
   c.immigneg |
           1  |  -.2850577   .0519293    -5.49   0.000    -.3869095   -.1832059
              |
   treatgroup |
Cultural t..  |   .0452225   .0822293     0.55   0.582    -.1160582    .2065032
Fiscal thr..  |  -.0851739   .0827286    -1.03   0.303    -.2474338    .0770861
              |
        black |   .1080722   .1131351     0.96   0.340    -.1138258    .3299702
     hispanic |   -.055766   .1397805    -0.40   0.690    -.3299251    .2183931
    otherrace |   .0431564    .111227     0.39   0.698    -.1749991    .2613118
         male |   .0223979   .0676017     0.33   0.740     -.110193    .1549889
       ideo01 |  -1.200513   .1802908    -6.66   0.000    -1.554127   -.8468995
         pid7 |     -.0406   .0226573    -1.79   0.073     -.085039    .0038391
       agecat |   -.034127    .053643    -0.64   0.525    -.1393399    .0710859
    incomecat |  -.0809255   .0118332    -6.84   0.000    -.1041346   -.0577164
         educ |   -.015043   .0405126    -0.37   0.710    -.0945024    .0644165
    notbornus |   .0612856   .1472731     0.42   0.677     -.227569    .3501402
parents_not~s |  -.2264079   .1099106    -2.06   0.040    -.4419814   -.0108343
         sr2k |  -1.095562   .1700232    -6.44   0.000    -1.429038   -.7620865
        _cons |   7.275312   .2023013    35.96   0.000     6.878527    7.672096
-------------------------------------------------------------------------------

. est sto neg_approval_cont

. reg approval i.benefit_bornus##c.immigneg i.benefit_immig i.benefit_immig#c.im
> migneg i.treatgroup, robust 

Linear regression                               Number of obs     =      1,726
                                                F(7, 1718)        =      73.55
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2203
                                                Root MSE          =     1.5137

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_b~s |   .0039551   .1627064     0.02   0.981    -.3151683    .3230785
     immigneg |  -.3738324   .0409055    -9.14   0.000    -.4540622   -.2936027
              |
benefit_bor~s#|
   c.immigneg |
           1  |   .2190296   .0531407     4.12   0.000     .1148023    .3232568
              |
1.benefit_i~g |   .7076351   .1640439     4.31   0.000     .3858883    1.029382
              |
benefit_immig#|
   c.immigneg |
           1  |  -.3234425   .0518205    -6.24   0.000    -.4250804   -.2218046
              |
   treatgroup |
Cultural t..  |   .0316469   .0889488     0.36   0.722    -.1428124    .2061062
Fiscal thr..  |  -.0693041   .0902624    -0.77   0.443    -.2463399    .1077317
              |
        _cons |    5.91364   .1342368    44.05   0.000     5.650355    6.176924
-------------------------------------------------------------------------------

. est sto neg_approval_sepintnc

. reg approval i.benefit_bornus##c.immigneg i.benefit_immig i.benefit_immig#c.im
> migneg i.treatgroup $controls, robust 

Linear regression                               Number of obs     =      1,726
                                                F(19, 1706)       =      54.55
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3420
                                                Root MSE          =     1.3954

-------------------------------------------------------------------------------
              |               Robust
     approval |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
1.benefit_b~s |  -.1476377   .1544961    -0.96   0.339    -.4506594     .155384
     immigneg |   -.219177   .0406313    -5.39   0.000    -.2988695   -.1394845
              |
benefit_bor~s#|
   c.immigneg |
           1  |   .2072902   .0489861     4.23   0.000      .111211    .3033693
              |
1.benefit_i~g |   .3105358   .1659993     1.87   0.062    -.0150477    .6361194
              |
benefit_immig#|
   c.immigneg |
           1  |  -.2136272   .0505837    -4.22   0.000    -.3128398   -.1144146
              |
   treatgroup |
Cultural t..  |   .0380248   .0820777     0.46   0.643    -.1229588    .1990084
Fiscal thr..  |  -.0861517   .0827799    -1.04   0.298    -.2485125     .076209
              |
        black |   .1254569   .1149906     1.09   0.275    -.1000805    .3509944
     hispanic |  -.0362116   .1395961    -0.26   0.795    -.3100093     .237586
    otherrace |   .0604559   .1117071     0.54   0.588    -.1586414    .2795532
         male |   .0468609   .0673947     0.70   0.487    -.0853241    .1790459
       ideo01 |  -1.230481   .1806439    -6.81   0.000    -1.584788   -.8761744
         pid7 |  -.0385409     .02262    -1.70   0.089    -.0829066    .0058249
       agecat |  -.0327212   .0528879    -0.62   0.536    -.1364533    .0710108
    incomecat |  -.0780754   .0117793    -6.63   0.000    -.1011787    -.054972
         educ |  -.0058003   .0402559    -0.14   0.885    -.0847564    .0731558
    notbornus |   .0640509   .1475282     0.43   0.664    -.2253043    .3534061
parents_not~s |  -.2293488   .1101012    -2.08   0.037    -.4452964   -.0134012
         sr2k |  -1.031902   .1781569    -5.79   0.000    -1.381331   -.6824729
        _cons |   7.198942   .2223926    32.37   0.000     6.762751    7.635133
-------------------------------------------------------------------------------

. est sto neg_approval_sepint

. 
. esttab neg_approval_nocont neg_approval_ideosr neg_approval_cont neg_approval_
> sepintnc neg_approval_sepint using TableF5, replace tab label wrap varwidth(25
> ) b(%12.2g) se(%12.2g) star(* 0.1 ** 0.05 *** .01) scalars("N Observations" "r
> 2 R squared") title(Table F.5. Linear Regression Models of Policy Approval usi
> ng Alternative Measure of Anti-Immigration Sentiment, with Interaction Terms a
> nd Robust Standard Errors (Mechanical Turk Follow-Up Study)) nobaselevels eqla
> bels(none) interaction(" X ") substitute(=1 "" "Negative feelings towards immi
> grants" "Negativity to immigrants") order(1.benefit_immigonly immigneg 1.benef
> it_immigonly#c.immigneg 1.benefit_immig 1.benefit_immig#c.immigneg 1.benefit_b
> ornus 1.benefit_bornus#c.immigneg 2.treatgroup 3.treatgroup ideo01 sr2k) indic
> ate(Controls = black hispanic otherrace male pid7 agecat incomecat educ notbor
> nus parents_notbornus) nomtitles nolz
(output written to TableF5.txt)

. 
. log close
      name:  <unnamed>
       log:  /Users/haselswerdtj/Box Sync/Immigrants & Social Welfare/Replicatio
> n/immigsocwelf_followup_rep.log
  log type:  text
 closed on:   4 Jun 2020, 10:30:50
--------------------------------------------------------------------------------
